<?php
require_once	'Zend/Controller/Plugin/Abstract.php';


class	Custom_Rewrite	extends	Zend_Controller_Plugin_Abstract
{
	/**
	 * Constructor.
	 * @return void
	 */
	public function	__construct()
	{
		//Add resource	
	}
	
	
	public function	preDispatch(Zend_Controller_Request_Abstract $request)
	{
		////echo $module=$request->module;
//		echo "/";
//		echo $controller=$request->controller;
//		echo "/";
//		echo $action=$request->action;
//		if($controller!=="index"){
//			$request->SetModuleName("default");
//			$request->SetControllerName("link");
//			$request->SetActionName("test");
//			//var_dump($request);exit;
//		}
	}
}